package de.koller.pulsar.scene.skeleton;

import de.koller.aframe.util.resource.IOLoader;
import de.koller.oceanFramework.gl.util.RasterManager;
import de.koller.pulsar.PNode;
import de.koller.pulsar.scene.IScene;
import java.util.Random;

public class SkeletonScene extends PNode implements IScene {
	public final Random RND = new Random();
	public final int WIDTH = 1000, HEIGHT = 1000;
	
	private RasterManager raster = new RasterManager( WIDTH, HEIGHT );
	
	@Override
	protected void init() {
		super.init();

	}	
	
	@Override
	protected void update( int elapsedTime ) {
		super.update( elapsedTime );
	
		raster.clear( 0xff000000 );
		
		proot.setSceneFrame( IOLoader.create( raster ) );
	}

	
}